package com.ruoyi.standingbook.greenery.mapper;

import com.ruoyi.standingbook.greenery.domain.Greenery;
import com.ruoyi.standingbook.greenery.domain.bo.GreeneryPicBo;
import com.ruoyi.standingbook.greenery.domain.vo.GreeneryFinishedSumVo;
import com.ruoyi.standingbook.greenery.domain.vo.GreeneryVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.standingbook.lamp.domain.bo.LampFinishedSumBo;
import com.ruoyi.standingbook.lamp.domain.bo.LampPicBo;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 道路绿化管养任务完成进度Mapper接口
 *
 * @author cc
 * @date 2023-08-29
 */
public interface GreeneryMapper extends BaseMapperPlus<GreeneryMapper, Greenery, GreeneryVo> {

    List<GreeneryPicBo> selectPicByDate(@Param("date") String date);

    /**
     * 统计指点日期的面积
     * @param date
     * @param community
     * @return
     */
    BigDecimal selectSumByDate(@Param("date") String date,@Param("community") String community,
                               @Param("status")String status);
}
